﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    
                    xmlns:MiniUMLViews="clr-namespace:MiniUML.View.Views;assembly=MiniUML.View"
                    xmlns:behav="clr-namespace:Edi.Core.Behaviour;assembly=Edi.Core"
                    >

  <DataTemplate x:Key="MiniUMLViewDataTemplate">
    <Grid Focusable="True"
                    KeyboardNavigation.IsTabStop="True"
                    Name="MiniUmlView"
                    behav:KeyboardFocus.On="{Binding ElementName=MiniUmlView}"
                    >
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="*" />
      </Grid.RowDefinitions>

      <MiniUMLViews:RibbonView DataContext="{Binding vm_RibbonViewModel}" Grid.Row="0"/>
      <MiniUMLViews:DocumentView DataContext="{Binding DocumentMiniUML}" Grid.Row="1" />
    </Grid>
  </DataTemplate>

</ResourceDictionary>